<%--
  Created by IntelliJ IDEA.
  User: drophair
  Team: 深藏blow
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户注册</title>
    <script src="/js/jquery-3.4.1.min.js"></script>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
</head>
<body background="/img/bg.jpg">
<div style="text-align: center;margin-top: 25%">
    <form action="RegisterServlet" method="post" style="background: #4e555b90">
        <%
            String error_code= (String) request.getAttribute("error");
            if(error_code==null||error_code.equals("")){
                error_code="";
            }
        %>
        <h2>用户登录</h2><br>
        <div style="color: red"><%=error_code%></div>

        <%--<form action="/login_success.jsp" method="post">--%>
        昵称：<input style="display: inline-block" name="register_name"><br><br>
        密码：<input style="display: inline-block" type="password" name="register_pwd" id="pwd1"><br><br>
        <div>
            重复：<input style="display: inline-block" type="password" name="register_pwd1" id="pwd2"><br>
        </div><br>
        <button class="btn btn-primary">登录</button><br><br>
        <h5 style="display: inline-block">已经有了账号? 快来</h5><a href="login.jsp" style="display: inline-block">登录</a><h5 style="display: inline-block">吧</h5>
    </form>
</div>
</body>
</html>
